package com.myhexin.alert.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Jayce
 * @version 1.0.0
 * @date 2021/10/7
 * @desc
 */
@ConfigurationProperties(prefix = "alert")
@Data
public class AlertProperties {
    private VanishMessage vanish = new VanishMessage();
    @Data
    public static class VanishMessage {
        /**
         * 用户名
         */
        private String username;
        /**
         * 消息
         */
        private String message;
    }
}
